import request from '@/utils/request'
export default {
    // 查询课程列表,条件分页查询
    getCoursePageList(page,limit,searchObj){
        return request({
            url: `/eduservice/coursefront/getFrontCourseList/${page}/${limit}`,
            method: 'post',
            data:searchObj
        })
    },
    // 查询全部分类
    getAllSubject(){
        return request({
            url: `/eduservice/subject`,
            method: 'get'
        }) 
    },
    getcourseInfo(id){
        return request({
            url: `/eduservice/coursefront/getFrontCourseInfo/${id}`,
            method: 'get'
        })
    },
    

}